<div class="modal-header bg-black">
    <h5 class="modal-title">修改手机</h5>
</div>
<div class="modal-body">
    <form name="form" class="form-validation padder-v">
        <div class="text-danger wrapper text-center" ng-show="authError">
            {{authError}}
        </div>
        <div class="list-group list-group-sm m-b-none">
            <div class="list-group-item">
                <div class="input-group">
                    <input type="text" class="form-control no-border" placeholder="手机号" ng-model="newInfo.tel" >
                    <span class="input-group-btn">
                                <button class="btn btn-default m-l-none" type="button" ng-click="getCode()">获取验证码</button>
                            </span>
                </div>
            </div>

            <div class="list-group-item" ng-show="readyForCode">
                <input placeholder="验证码" class="form-control no-border" ng-model="newInfo.code" required>
            </div>
        </div>
    </form>
</div>
<div class="modal-footer bg-black">
    <button class="btn btn-default" ng-click="cancel()">取消</button>
    <button class="btn btn-primary" ng-click="ok()">确定</button>
</div>